package com.kuang.dao;

import com.kuang.pojo.User;

public interface UserDao {
    /**
     * 注册一个用户
     * @param user
     * @return
     */
    User saveUser(User user);

    /**
     * 获取用户
     * @param email
     * @return
     */
    User getUserByEmail(String email);
}
